﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>驾驶员记分查询结果</title>
    <meta charset='UTF-8'>
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no,email=no" name="format-detection" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" />
    <link href="../css/alipay/alipay.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/amui-demo_files/toast.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/button.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/amui-demo_files/dialog.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/amui-demo_files/button-group.css" type="text/css" rel="stylesheet" />
    <link href="../css/main.css" type="text/css" rel="stylesheet" />
    <link href="../css/dialog.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../js/extensions/base.js"></script>
    <script type="text/javascript" src="../css/alipay/amui-demo_files/amui.js"></script>
	<style type="text/css">
.am-list:not([am-version]){padding: 0px;}
.am-list:not([am-version]) .am-list-header{margin:9px 9px 0; padding-bottom: 9px; font-size: 12px;}
</style>
    <script type="text/javascript">
        $(function(){
            /*$("#dialogbut").click(function(){
             $(".mask").show();
             $(".demo-content").show();
             });*/

            $(".am-dialog-button").click(function(){
                $(".mask").hide();
                $(".demo-content").hide();
            });

        })
    </script>
</head>
<body>
<div class="mask" style="display: none;"></div>
<div class="demo-content"  style="display: none;">
    <div class="demo-mobile">
        <div class="am-dialog show" style="z-index: 10001;">
            <div class="am-dialog-wrap">
                <div class="am-dialog-body">
                    <p id="warn" class="am-dialog-brief"></p>
                </div>
                <div class="am-dialog-footer">
                    <a class="am-dialog-button">取消</a>
                    <a class="am-dialog-button">确定</a>
                </div>
            </div>
        </div>
    </div>
</div>
    <div data-role="page" id="detailDiv">
        <div data-role="content" style="background-color:#EFEFF4">
        	 <div class="am-toast" id="toast">
                    <div class="am-toast-text">
                        <span class="am-toast-icon am-icon" am-mode="toast-loading"></span> 正在查询...
                    </div>
                </div> 
            <div class="am-list" am-mode="flat chip">
               <div class="am-list" am-mode="flat chip">
    <div class="am-list-header">驾驶证记分</div>
    <div class="am-list-body">
        <div class="am-list-item">
            <div class="am-list-content" id="jdcjszljjf">
            
            </div>
        </div>
    </div>
</div>
                <!--<div class="am-list-header">驾驶证记分</div>
                <div class="am-list" am-mode="radius">
                    <div class="am-list-body">
                        <div class="am-list-item">
                            <div class="am-list-control" id="jdcjszljjf"></div>
                        </div>
                    </div>
                </div>-->
               
                
                </div>
        </div>
    </div>
    <div id="fuwu" style="display: block;font-family:STHeitiSC;font-size: 12px;position: absolute; margin-bottom: 15px; margin-left: 0px; width: 100%; text-align: center; bottom: 0px;z-index:-1;">
        <div class="am-agreement am-ft-gray am-ft-sm">
            <p>
                本服务由吉林省公安厅<br />江苏欧索软件有限公司提供支持
            </p>
        </div>
    </div>
    <script>
        $(function () {
            $("#toast").show();
            var jtglywdxsfzhm = decodeURI(getQueryStringByName("jtglywdxsfzhm"));
            var dabh = decodeURI(getQueryStringByName("dabh"));

            $.ajax({
                url: '../../../api/cityservice/driver/points',
                type: 'post',
                data: {"jtglywdxsfzhm": jtglywdxsfzhm,"dabh":dabh},
                success: function (resp) {
                    if(resp && resp.succ && resp.statusCode == 100101){
                        //查询条件已有查询结果，直接返回结果
                        $("#jdcjszljjf").html("您的驾驶证累计记分为"+resp.data.jdcjszljjf+"分。"
                                +"<br/>驾驶证累计记分满12分的，"
                                +"应当在十五日内到驾驶证核发地或者违法行为地公安机关"
                                +"交通管理部门参加为期七日的道路交通安全法律、法规和"
                                +"相关知识学习并参加考试。");
                    } else {
                        alert(resp.msg);
                    }
                },
                error: function (){
                    alert("查询失败!");
                },
                complete: function () {
                    $("#toast").hide();
                }
            });

        });
    </script>

</body>
</html>
